from django.apps import AppConfig


class MoviesConfig(AppConfig):
    """电影应用配置类"""

    default_auto_field = "django.db.models.BigAutoField"  # 默认主键字段类型
    name = "movies"  # 应用名称

    def ready(self):
        """应用启动时执行的初始化操作"""
        import movies.signals  # 导入信号处理器
